package com.kc.data.common.domain.goodsSku;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;


/**
 * 商品sku详情
 */
@Data
@TableName(value = "kc_goods_sku")
public class BizGoodsSkuSpecsInfo {

    /*主键id*/
    @TableId
    private Integer id;
    /*页面提交过来的数据*/
    private String sku;
    /*详情名称*/
    private String skuName = "";
    /*活动价格*/
    private Double activityPrice;

    private Double costPrice;
    /*价格*/
    private Double price;
    /*库存*/
    private Integer stock;
    /*图片*/
    private String image;
    /*商品id*/
    private Integer goodsId = 0;
    /*sku规格id*/
    private Integer specsId = 0;
    /*规格名称*/
    private String specsName = "";
    private Integer status;
    public BizGoodsSkuSpecsInfo(){}
    public BizGoodsSkuSpecsInfo(String skuName, Double activityPrice, Double price, Integer stock, String image, Integer goodsId, Integer specsId) {
        this.skuName = skuName;
        this.activityPrice = activityPrice;
        this.price = price;
        this.stock = stock;
        this.image = image;
        this.goodsId = goodsId;
        this.specsId = specsId;
    }
}
